package com.backend.modules.task.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@Schema(description = "文件排序参数")
public class FileSortDTO {
    
    @Schema(description = "文件ID", required = true)
    @NotNull(message = "文件ID不能为空")
    private Long fileId;
    
    @Schema(description = "排序号", required = true)
    @NotNull(message = "排序号不能为空")
    private Integer sort;
} 